﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
using System.Collections;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Reflection;
using System.Resources;
using CCF20Model;
using System.Windows;
using System.Windows.Media;
using System.Windows.Controls;


namespace CCF20Module
{

    public class ComboboxValidationRule : ValidationRule
    {
        public override ValidationResult Validate(object value, CultureInfo cultureInfo)
        {
            if (value == null)
                return new ValidationResult(false, "选择不得为空");
            return new ValidationResult(true, null);
        }
    }

}
